package link.hwx.mapper.oa;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import link.hwx.entity.oa.OaBillInfoVo;
import link.hwx.entity.u9.BaseVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * OA单据信息
 */
@Mapper
public interface OaPoAgreementMapper extends BaseMapper<BaseVo> {
    OaBillInfoVo findPoAgreementByRequestId(@Param("poAgreementMainTableName") String poAgreementMainTableName, @Param("requestid") String requestid);
    int updatePoAgreementSrmDocNoByRequestId(@Param("poAgreementMainTableName") String poAgreementMainTableName, @Param("requestid") String requestid, @Param("srmdocno") String srmdocno);
    List<OaBillInfoVo> findPoAgreementByDocnoType(@Param("poAgreementMainTableName") String poAgreementMainTableName, @Param("docNo") String srmdocno, @Param("nodeType") String nodeType);
}
